import request from '@/utils/request';

/**
 * sip日志
 * @param query
 * @returns {*}
 */
export function getGbLog(query) {
    return request({
        url: '/iot/gb/logList',
        method: 'get',
        params: query
    })
}

/**
 * 下载指定日志文件
 * @param fileName
 * @returns {*}
 */
export function getGbLogFile(fileName) {
    return request({
        url: '/iot/gb/logFile/' + fileName,
        method: 'get',
    })
}